import Empty from '@/components/Empty'
import Section from '@/components/Section'
import errorHandler from '@/utils/errorHandler'

export default {
	install(app) {
		//注册全局组件
		app.component('Empty', Empty)
		app.component('Section', Section)
		
		//全局代码错误捕捉
		app.config.errorHandler = errorHandler

	}
}